package com.caiyouxi.app.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 渠道用户信息表类
 *
 * Created by Administrator on 2017/10/18.
 */
public class AppUsersBean implements Serializable {

    private Integer id;              //编号
    private String user_name;        //用户名:时间戳+4位随机数字+渠道后缀
    private Integer channel_id;      //渠道编号
    private Integer app_id;          //应用/游戏编号
    private String channel_user_id;      //在渠道方的该用户编号
    private String channel_username;      //在渠道方该用户的用户名
    private String channel_user_nickname;  //在渠道方该用户的昵称

    private Date create_time;        //创建时间
    private Date last_login_time;    //最后登录时间
    private String token;            //上次登录的 token
    private Date token_expire_time;  //token有效期
    private Date channle_token;      //该登录凭证由渠道方生成
    private Date channle_token_expire_time; //渠道方提供的 token 的有效期

    private String register_log;    //注册时的日志信息，包含的信息参见日志信息表。

    private String extension; //扩展参数
    
    private Long order_id;

    private Integer is_del;//是否删除

    public Integer getIs_del() {
        return is_del;
    }

    public void setIs_del(Integer is_del) {
        this.is_del = is_del;
    }

    public Long getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Long order_id) {
        this.order_id = order_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public Integer getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(Integer channel_id) {
        this.channel_id = channel_id;
    }

    public Integer getApp_id() {
        return app_id;
    }

    public void setApp_id(Integer app_id) {
        this.app_id = app_id;
    }

    public String getChannel_user_id() {
        return channel_user_id;
    }

    public void setChannel_user_id(String channel_user_id) {
        this.channel_user_id = channel_user_id;
    }

    public String getChannel_username() {
        return channel_username;
    }

    public void setChannel_username(String channel_username) {
        this.channel_username = channel_username;
    }

    public String getChannel_user_nickname() {
        return channel_user_nickname;
    }

    public void setChannel_user_nickname(String channel_user_nickname) {
        this.channel_user_nickname = channel_user_nickname;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getLast_login_time() {
        return last_login_time;
    }

    public void setLast_login_time(Date last_login_time) {
        this.last_login_time = last_login_time;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getToken_expire_time() {
        return token_expire_time;
    }

    public void setToken_expire_time(Date token_expire_time) {
        this.token_expire_time = token_expire_time;
    }

    public Date getChannle_token() {
        return channle_token;
    }

    public void setChannle_token(Date channle_token) {
        this.channle_token = channle_token;
    }

    public Date getChannle_token_expire_time() {
        return channle_token_expire_time;
    }

    public void setChannle_token_expire_time(Date channle_token_expire_time) {
        this.channle_token_expire_time = channle_token_expire_time;
    }

    public String getRegister_log() {
        return register_log;
    }

    public void setRegister_log(String register_log) {
        this.register_log = register_log;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }
}
